package com.ui.mine.presenter;

import com.base.BaseRefreshContract;
import com.bean.LoginBean;

public interface LoginFragmentContract {
    interface View extends BaseRefreshContract.View{
        void onLogin(LoginBean bean);
        void onLogout();
        void onRegister(LoginBean bean);
    }

    interface Presenter extends BaseRefreshContract.Presenter<LoginFragmentContract.View>{
        void doLogin(String userName,String password);
        void doLogout();
        void doRegister(String userName,String password,String rePassword);
    }
}
